package com.example.jpa.crud.exception;

public class ParameterMissingException extends RuntimeException {

    private final String parameter;

    public String getParameter() {
        return parameter;
    }

    public ParameterMissingException(String parameter) {
        super("missing parameter '" + parameter + "'");
        this.parameter = parameter;
    }

}
